package com.eep.data;
import java.util.List;
import com.eep.inventory.*;
import com.eep.order.*;
import com.eep.security.Session;
import com.eep.logging.*;

public interface DataService {

       List<InventoryItem> getTrees();
       List<InventoryItem> getSeeds();
       List<InventoryItem> getShrubs();
       int createOrder(OrderDetailed order);
       OrderDetailed readOrder( int OrderId);
       List<OrderSummary> getOrdersSummary();
       void updateOrder(int OrderId,Boolean isShipped);
       void createConnection(DatabaseName dbName);
       void createLogItem(LogEvent logEvent);
       List<LogEvent> listLog(LogType appEvent);
       Session getUser(String username);
       Boolean isUserAuthorized(String username,Session.Applications  applicationName);
}
